@use "styles/ScreenSizes.module.scss";
@use "styles/Spacings.module.scss";
@use "styles/Typography.module.scss";

.brain_recap_wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
  gap: Spacings.$spacing05;
  overflow: hidden;

  .content_wrapper {
    display: flex;
    flex-direction: column;
    gap: Spacings.$spacing05;
    overflow: scroll;

    .title {
      @include Typography.H3;
    }

    .subtitle {
      font-size: Typography.$small;
      font-weight: 500;
    }

    .warning_message {
      font-size: Typography.$small;
    }

    .brain_info_wrapper {
      display: flex;
      flex-direction: column;
      gap: Spacings.$spacing05;

      .name_field {
        width: 300px;
      }

      @media screen and (max-width: ScreenSizes.$small) {
        .name_field {
          min-width: 100%;
          max-width: 100%;
        }
      }
    }

    .cards_wrapper {
      display: flex;
      flex-wrap: wrap;
      padding: Spacings.$spacing01;
      justify-content: space-between;
      gap: Spacings.$spacing05;

      > * {
        min-width: 120px;
        max-width: 200px;
        flex: 1;
      }

      @media screen and (max-width: ScreenSizes.$small) {
        > * {
          min-width: 100%;
          max-width: 100%;
          flex: 1;
        }
      }
    }
  }

  .buttons_wrapper {
    display: flex;
    justify-content: space-between;
  }
}
